package com.yc.cloud.oss.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class OssUploadChunkParam {

    @ApiModelProperty(value = "第几块", required = true)
    private int chunkNumber;
    @ApiModelProperty(value = "一共几块", required = true)
    private int totalChunkNumber;
//    @ApiModelProperty(value = "文件数据")
//    private byte[] data;

    @ApiModelProperty(value = "文件标识", required = true)
    private String fileId;

    @ApiModelProperty(value = "文件格式", required = true)
    private String suffix;

    @ApiModelProperty(value = "文件名称", required = true)
    private String fileName;

    @ApiModelProperty(value = "存储桶", hidden = true)
    private String bucket;


}
